/*
 * include/linux/amlogic/i2c-amlogic.h
 *
 * Copyright (C) 2017 Amlogic, Inc. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

#ifndef LINUX_AMLOGIC_I2C_AMLOGIC_H
#define LINUX_AMLOGIC_I2C_AMLOGIC_H
#include <linux/platform_device.h>

#define AML_I2C_SPEED_50K 50000
#define AML_I2C_SPEED_100K 100000
#define AML_I2C_SPEED_200K 200000
#define AML_I2C_SPEED_300K 300000
#define AML_I2C_SPEED_400K 400000
#define AML_I2C_SPEED_1000K 1000000
#define AML_I2C_SPEED_2000K 2000000
#define AML_I2C_SPEED_3000K 3000000
#define AML_I2C_SPEED_3400K 3400000

#define AML_I2C_MASTER_AO 0
#define AML_I2C_MASTER_A 1
#define AML_I2C_MASTER_B 2
#define AML_I2C_MASTER_C 3
#define AML_I2C_MASTER_D 4
#endif
